import request from "./http";


//获取我喜欢的音乐列表id
export function getMyLike() {
    return request({
        url: "/playlist/detail",
        methods: "get",
        params: {
            id: "627160975"
        }
    })
}
//最近播放
export function lastPlay() {
    return request({
        url: "/user/record",
        methods: "get",
        params: {
            uid: '436393419',
            type: 1
        }
    })
}
//添加到喜欢的音乐
export function addMyLike(params) {
    return request({
        url: "/like",
        methods: "get",
        params
    })
}
//用户信息
export function getUserInformation(params) {
    return request({
        url: "/user/detail",
        methods: "get",
        params
    })
}
//用户歌单
export function getUserPlaylist(params) {
    return request({
        url: "/user/playlist",
        methods: "get",
        params
    })
}
//歌单详情
export function getPlaylistDetail(params) {
    return request({
        url: "/playlist/detail",
        methods: "get",
        params
    })
}
//歌曲详情
export function getSongDetail(params) {
    return request({
        url: "/song/detail",
        methods: "get",
        params
    })
}